/*
 * @Author: yangzonglong
 * @Date: 2021-03-30 10:07:48
 * @version: v1.0.0
 * @Descripttion: 项目通信
 * @LastEditors: yangzonglong
 * @LastEditTime: 2021-08-24 14:20:09
 * @Auditor: 
 */

interface ClientProps {
  historyPush?(path: string): void;
  throwError?(error: any): void;
  setQuitInquiry?(inquiry?: Function): void // 询问是否可退出
}

const wt: any = window.parent;
const client: ClientProps = wt._client || {};

export default client;